import request from '@/utils/request'
//送菜订单列表
// const ip = "192.168.0.127:8088";
export function lionfishSum(data) {
    return request({
      url:'/order/query/lionfish/sum',
      method: 'post',
      data
    })
  }
  export function supplierList(data) {
    return request({
      url: "/Supplier/getSupplierList",
      method: "post",
      data: data
    });
  }
  //生菜采购单
  export function generate(data) {
    return request({
      url: "/order/generate/purchase/order",
      method: "post",
      data: data
    });
  }
// 狮子鱼商品分类
export function goodsCategory() {
  return request({
    url: "/order/query/lionfish/goods/category",
    method: "get",
  });
}
//查询订单列表
export function orderList(data) {
  return request({
    url: "/order/query/lionfish/order/list",
    method: "post",
    data
  });
}

//装箱
export function lionfishSort(orderIds) {
  return request({
    url: `/order/lionfish/order/sort?orderIds=${orderIds}`,
    method: "post",
  });
}
